$blue: #008af3;
@font-face {
    font-family: colorEmojiFont;
    src: local("Noto Color Emoji"), local("Apple Color Emoji"), local("Segoe UI Emoji");
    unicode-range: U+1F300-1F5FF, U+1F900-1F9FF, U+1F600-1F64F, U+1F680-1F6FF, U+2600-26FF, U+2700-27BF, U+2300-23FF, U+1F000-1F02F, U+1F100-1F1FF, U+1F20-1F2FF, U+2122, U+2139, U+FE00-FE0F;
}
// 特殊字符 √ 在其他字体下显示不正常
@font-face {
    font-family: tickFont;
    src: local("Microsoft YaHei"), local(sans-serif);
    unicode-range: U+221a;
}
// mac 数字和中文连接字符"——"在一起时显示问题
@font-face {
    font-family: numberFont;
    src: local("PingFangSC-Regular"), local(sans-serif);
    unicode-range: U+0030-0039;
}
$fontfamily: tickFont, numberFont, colorEmojiFont, "PingFangSC-Regular", "Microsoft YaHei", sans-serif;

body {
    margin: 0;
    width: 100%;
    height: 100%;
    min-height: 580px;
}

.rong-chat {
    cursor: default;
    position: fixed;
    min-height: 400px;
    height: 100%;
    width: 100%;
    min-width: 950px;
    top: 0;
    left: 0;
    overflow: hidden;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    background-color: white;
    @media (max-width: 700px), (max-height: 400px) {
        & {
            overflow: auto;
        }
    }
    // sass-lint:disable-block no-universal-selectors
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        outline: 0;
    }
    h1, h2, h3, h4, h5, h6 {
        font-weight: normal;
        font-size: 100%;
    }
    ul, ol, li {
        list-style: none;
    }
    a {
        text-decoration: none;
        &:hover {
            color: $blue;
        }
    }
    img {
        border: 0;
    }
    em {
        font-style: normal;
    }
    mark {
        background: none;
        color: $blue;
    }
    button, input, select, textarea {
        font-family: $fontfamily;
        font-size: 100%;
    }
    button {
        cursor: pointer;
        &[disabled] {
            cursor: default;
        }
    }
    color: black;
    font-family: $fontfamily;
    font-size: 14px;
    line-height: 1.5;
}

.rong-titlebar {
    width: 100%;
    height: 40px;
    background-color: rgb(246, 247, 249);
    z-index: 101;
    position: relative;
    -webkit-app-region: drag;
    * {
        -webkit-app-region: no-drag;
    }
}
.rong-titlebar-logo {
    float: left;
    margin-left: 15px;
    color: #fff;
    line-height: 40px;
    background-image: url('../img/icon.svg');
    background-position: 0 -100px;
    width: 66px;
    height: 23px;
    margin-top: 8px;
}
.rong-titlebar-logo-darwin {
    float: right;
    margin-right: 15px;
}
.rong-titlebar-buttons {
    float: right;
    margin-right: 15px;
    a {
        float: left;
        width: 12px;
        height: 12px;
        margin: 10px 0 0 10px;
        background-repeat: no-repeat;
        background-image: url('../img/icon.svg');
    }
}
.rong-titlebar-min {
    background-position: -79px -9px;
}
.rong-titlebar-max {
    background-position: -61px -9px;
}
.rong-titlebar-restore {
    background-position: -61px -9px;
}
.rong-titlebar-close {
    background-position: -46px -9px;
}
.rong-inner {
    position: fixed;
    height: 100%;
    width: 100%;
    background-color: white;
}
.rong-room {
    width: 100%;
    position: absolute;
    top: 40px;
    bottom: 0;
}
.rong-web-room {
    top: 0;
}
.user-list, .chat-list {
    position: absolute;
    width: 235px;
    height: 100%;
    .rong-tab {
        width: 100%;
        height: 60px;
        line-height: 60px;
        border-bottom: 1px solid rgb(236, 236, 237);
        text-align: center;
        li {
            cursor: pointer;
            display: inline-block;
            height: 100%;
            margin: 0 7px;
            padding: 0 2px;
            font-size: 13px;
            color: rgb(142, 146, 159);
        }
        li.rong-tab-sel {
            border-bottom: 2px solid rgb(58, 145, 243);
            color: rgb(58, 145, 243);
        }
    }
    .rong-chat-tab {
        li {
            padding: 0 10px;
            margin: 0 12px;
        }
    }
    .rong-tab-icon {
        display: inline-block;
        width: 13px;
        height: 13px;
        background-image: url('../img/icon.svg');
    }
    .rong-tab-icon-0 {
        background-position: -2px -57px;
    }
    .rong-tab-icon-1 {
        background-position: -36px -57px;
    }
    li.rong-tab-sel {
        .rong-tab-icon-0 {
            background-position: -19px -57px;
        }
        .rong-tab-icon-1 {
            background-position: -52px -57px;
        }
    }
}

.rong-live {
    position: absolute;
    left: 235px;
    right: 235px;
    top: 0;
    height: 100%;
}
.chat-list {
    right: 0;
    top: 0;
    border-left: 1px solid rgb(236, 236, 237);
    .rong-user-title li {
        margin: 0 15px;
        padding: 0 8px;
    }
}